﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 英雄
{
    class Hero
    {
        private string _nikeName;
        private string _name;
        private string _heroInfo;
        private int _attack;
        private int _defense;
        private int _speed;



        public string NikeName
        {
            get
            {
                return this._nikeName;
            }
            set
            {
                this._nikeName = value;
            }
        }

        public string Name { get => _name; set => _name = value; }
        public string HeroInfo { get => _heroInfo; set => _heroInfo = value; }
        public int Attack { get => _attack; set => _attack = value; }
        public int Defense { get => _defense; set => _defense = value; }
        public int Speed { get => _speed; set => _speed = value; }

        public Hero(string nikeName, string Name, int attack, int deferse, int speed)
        {
            this.NikeName = nikeName;
            this.Name = Name;
            this.Attack = attack;
            this.Defense = Defense;
            this.Speed = speed;
        }
    }
}
